home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / northc / northc1.lzh / include / time.h < prev    next >
C/C++ Source or Header  |  1990-08-30  |  880b  |  41 lines

  1. /*
  2.  *    TIME.H        Date/Time related definitions
  3.  */
  4.  
  5. #ifndef    TIME_H
  6. #define    TIME_H
  7.  
  8. #include <types.h>
  9.  
  10. #define    CLOCKS_PER_SEC    50
  11.  
  12. struct tm
  13.     {
  14.     int    tm_sec;        /* seconds (0..59) */
  15.     int    tm_min;        /* minutes (0..59) */
  16.     int    tm_hour;    /* hours (0..23) */
  17.     int    tm_mday;    /* day of month (1..31) */
  18.     int    tm_mon;        /* month (0..11) */
  19.     int    tm_year;    /* year - 1900 */
  20.     int    tm_wday;    /* day of week (0=Sun..6=Sat) */
  21.     int    tm_yday;    /* day of year (0..365) */
  22.     int    tm_isdst;    /* daylight saving? (always -1=unknown) */
  23.     };
  24.  
  25. extern    char        *asctime();
  26. extern    struct tm    *gmtime();
  27. extern    struct tm    *localtime();
  28. extern    time_t        time();
  29. extern    char        *ctime();
  30. extern    time_t        mktime();
  31. extern    long        difftime();
  32. extern    int        strftime();
  33. extern    void        stime();
  34. extern    int        utime();
  35. extern    clock_t        clock();
  36. extern    long        julian_date();
  37. extern    clock_t        start_timer();
  38. extern    clock_t        time_since();
  39.  
  40. #endif TIME_H
  41.